<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<html>
<head>
	<link href='css/table.css' type="text/css" rel="stylesheet">
	<script type="text/javascript" src="js/ScriptsFile1.js"></script>
</head>
<body onload = "InitializePage_CompanyDetails()">
<s:div class="topDiv">
	<TABLE width="100%" class="table_body" align="left">
		<tr valign="top" >
			<td align="left" class="colA_title_header" colspan = "2"  >
				<Center><i>Financial Assist - Company Details</i></center>
			</td>
		</tr>

		<tr valign="top" >
			<td align="left" class="colA_title_nobold" colspan = "2">
				&nbsp;Please select an option to proceed.
			</td>
		</tr>
		<tr valign="top" id = "existingcompany">
			<td align="left" class="colA_title" width = "50%">
			<center>&nbsp;&nbsp;&nbsp;<input type="radio" name="group1" value="1" onclick = "companyoption()">Select Existing Entity&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :</center>
			</td></tr>

	<tr valign="top">
			<td align="left" class="colA_title" width = "50%">
			<center>&nbsp;&nbsp;&nbsp;<input type="radio" name="group1" value="2"  onclick = "companyoption()">Create New Entity &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</center>
			</td>
			<td align="left" class="colA_title_nobold"  width = "50%">
				<i>&nbsp;&nbsp;&nbsp;( Requires License Key to create new Company )</i>
			</td>
		</tr>
		</table>
	
	<s:form id="companyname" action="openEntity" method="post" align="center">
	<s:select id="companyname" headerKey="-1" headerValue="Select Entity" list="entitiListNames" name="entitiName" />
	<s:submit value="PROCEED" align="center"/>
	</s:form>
	<s:form id="createEnt" action="createEntity" method="post" align="center">
	<s:textfield name="entiti.entityName" label="ENTITY NAME"/>
	<s:select id="entitiTypess" label="ENTITY TYPE" headerKey="-1" headerValue="Select Entity" list="entitiTypes" name="entiti.entityType" />
	<s:textfield name="entiti.mailName" label="MAIL NAME"/>
	<s:textfield name="entiti.mailAdd" label="MAIL ADDRESS"/>
	<s:select id="countries" label="COUNTRY" headerKey="-1" headerValue="Select Country" list="countries" name="entiti.country" />
	<s:select id="currSym" label="CURRENCY SYMBOL" headerKey="-1" headerValue="Select Currency" list="symbols" name="entiti.currSym" />
	<s:textfield name="entiti.email" label="EMAIL ADDRESS"/>
	<s:textfield name="entiti.phone" label="PHONE NUMBER"/>
	<s:select id="currStatus" label="STATUS" headerKey="-1" list="optionList" name="entiti.status" />
	<s:submit value="CREATE" align="center"/>
	</s:form>
	</s:div>
</body>
</html>